package com.wanxing.sellerapp.emqx.entity;

import com.alibaba.fastjson.JSONObject;
import com.wanxing.sellerapp.emqx.enums.ActionEnum;

public class EmqPayload {

    private ActionEnum action;

    private String messageId;

    private JSONObject data;

    private String topic;

    private String userEndpoint;

    public ActionEnum getAction() {
        return action;
    }

    public void setAction(ActionEnum action) {
        this.action = action;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getUserEndpoint() {
        return userEndpoint;
    }

    public void setUserEndpoint(String userEndpoint) {
        this.userEndpoint = userEndpoint;
    }
}
